package com.itlong.cloud.POJO.VO.sdk.old;

import com.itlong.cloud.POJO.VO.app.old.AppOldDeviceServeRoomVO;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

/**
 * <desc>
 *    旧版手机APP_SDK单个设备权限信息
 * </desc>
 *
 * @createDate 2017-12-07
 */
@Data
@NoArgsConstructor
public class SDKAppOldDeviceVO {

    private Integer autoIndex;//设备信息自增长
    private String deviceName;//设备名称
    private Integer deviceType;//1:电梯2:门禁
    private String deviceId;//设备ID
    private String projectId;//项目ID
    private Integer floorNo;//层数
    private long valiTime;//有效时间
    private java.lang.String floorAuth;
    private java.lang.String doorAuth;
    private java.lang.String userType;
    private String deviceUnique;
    private String signalNum;//校准阈值

    private String commonFloor; //待选公共楼层的权限标识
    //private String commonFloorAuth; //待选公共楼层权限标识对应的标识编码
    private String commonLogicalFloor; //待选公共楼层的逻辑名称

    private String liveFloor; //待选居住楼层权限标识（对应已授权的floorAuth）
    //private String liveFloorAuth; //待选居住楼层的标识编码
    private String liveLogicalFloor; //待选居住楼层的逻辑名称

    private String commonChoiceFloor; //已选公共楼层权限标识
    //private String commonChoiceFloorAuth; //已选公共楼层权限编码
    private String commonLogicalChoiceFloor; //已选公共楼层逻辑名称

    private String liveChoiceFloor; //已选居住楼层权限标识
    //private String liveChoiceFloorAuth; //已选居住楼层权限编码
    private String liveLogicalChoiceFloor; //已选居住楼层逻辑名称

    private String ownBuildNum;  //设备服务的楼栋编号
    private String ownUnitNum; //设备服务的楼栋对应的单元编号


    private String protocolVersion;//协议版本号，0-第一版，1-第二版
    private String cardNum; //软卡号,供一卡通与APP、硬件使用
    private String pubKey; //项目密钥，加密使用

    private String sipAccount;
    private String sipPsd;


    private List<AppOldDeviceServeRoomVO> roomArr = new ArrayList<>(); //云对讲设备所服务的房间

}
